<form id="<?php echo ChangePasswordForm::FORM_NAME; ?>" action="<?php echo url_for('@change_password'); ?>" method="POST">
  <h1>Change Password</h1>
  <div class="content_wrp">
    <?php if ($sf_request->hasParameter('success')) : ?>
    <div class="clear sucess_box radius">
      <p>Your password has been changed.</p>
    </div>
    <div>
      <div class="frmbox_fl">
        <div class="clear">
          <input name="" type="button" value="&laquo; Update Profile" class="btn gray" onclick="document.location='<?php echo url_for('@profile_update'); ?>'">
        </div>
      </div>
    </div>
    <?php else : ?>
      <?php echo include_partial('global/errorsList', array('forms' => array($form), 'global' => $errorCollector)); ?>

    <div class="text_con">
      <p>Use <a href="<?php echo url_for('@profile_update'); ?>">this link</a> to update your profile.</p>
    </div>

    <div class="clearfix">
      <div class="frmbox left">
        <label class=" clear"><?php echo $form[ChangePasswordForm::FIELD_CURRENT_PASSWORD]->renderLabel(); ?><span class="important">*</span></label>
          <?php echo $form[ChangePasswordForm::FIELD_CURRENT_PASSWORD]->render(array('class' => 'txtfeid_01 clear', 'tabindex' => 1)); ?>
        <p class="info left">Password you are currently using to sign in.</p>
      </div>
    </div>

    <div class="clearfix">
      <div class="frmbox left">
        <label class=" clear"><?php echo $form[ChangePasswordForm::FIELD_NEW_PASSWORD]->renderLabel(); ?><span class="important">*</span></label>
          <?php echo $form[ChangePasswordForm::FIELD_NEW_PASSWORD]->render(array('class' => 'txtfeid_01 clear', 'tabindex' => 2)); ?>
        <p class="info left">6 characters or more! Be tricky.</p>
      </div>
      <div class="frmbox left">
        <label class="left"><?php echo $form[ChangePasswordForm::FIELD_RENEW_PASSWORD]->renderLabel(); ?><span class="important">*</span></label>
          <?php echo $form[ChangePasswordForm::FIELD_RENEW_PASSWORD]->render(array('class' => 'txtfeid_01 clear', 'tabindex' => 3)); ?>
        <p class="info clear">Just to confirm you made no mistake.</p>
      </div>
    </div>

    <div class="frmbox_fl left">
      <input name="" type="submit" value="Save Changes" class="btn blue"/>
    </div>
    <?php endif ; ?>
  </div>
  <?php echo $form['_csrf_token']->render(); ?>
</form>